.light {
  &.login-wrapper {
    background-color: white;
    // background-image: url('@/assets/assets-login-bg-white.png');
  }
} 

.dark { 
  &.login-wrapper {
    background-color: var(--td-bg-color-page); 
    // background-image: url('@/assets/assets-login-bg-black.png');
  }
}

.login-wrapper {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: 100%;
  position: relative;
  :deep(.t-input.t-is-focused .t-input__prefix > .t-icon) {
    color: #E62B17;
  }
  :deep(.t-input.t-is-focused .t-input__prefix > .doorIcon){
    color: #E62B17;
  }
  :deep(.t-button--variant-base.t-button--theme-primary){
    // border-color: rgba(210,173,119,0.3);
    // background-color: rgba(210,173,119,0.3);
  }

  :deep(.t-button--variant-base.t-button--theme-primary.t-is-disabled){
    border-color: rgba(230, 43, 23, .5);
    background-color: rgba(230, 43, 23, .5);
  }
  :deep(.t-divider__inner-text){
    font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999;
line-height: 22px;
  }
}

.login-container {
  position: absolute;
  top: 20%;
  right: 12%;
  width: 380px;
  // height: 434px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 2px 4px 0px rgba(226, 223, 209, 0.38);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.title-container {
  .title {
    font-size: 36px;
    line-height: 44px;
    color: var(--td-text-color-primary);
    margin-top: 4px;

    &.margin-no {
      margin-top: 0;
    }
  }

  .sub-title {
    margin-top: 16px;

    .tip {
      display: inline-block;
      margin-right: 8px;
      

      &:first-child {
        color: var(--td-text-color-secondary);
      } 
   
      &:last-child {  
        color: var(--td-text-color-primary);
        cursor: pointer; 
      }  
    }
  }   
}  

.item-container {  
  // width: 332px;
  width: 100%;
  padding: 32px 24px;
  margin: 0 auto;
  background-color: #fff;
  &.login-qrcode {
    .tip-container {
      width: 192px;
      margin-bottom: 16px;
      
      display: flex;
      justify-content: space-between;

      .tip {
        color: var(--td-text-color-primary);
      }

      .refresh {
        display: flex;
        align-items: center;
        color: var(--td-brand-color);

        .t-icon {
          
          margin-left: 4px;
        }

        &:hover {
          cursor: pointer;
        }
      }
    }

    .bottom-container {
      margin-top: 32px;
    }
  }

  &.login-phone {
    .bottom-container {
      margin-top: 66px;
    }
  }

  .check-container {
    display: flex;
    align-items: center;

    &.remember-pwd {
      margin-bottom: 16px;
      justify-content: space-between;
    }

    :deep(.t-checkbox__label) {
      color: var(--td-text-color-secondary);
    }

    span {
      &:hover {
        cursor: pointer;
      }
    }
  }
  .remember-pwd-title1 {
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #666666;
    line-height: 22px;
  }
  .remember-pwd-title2 {
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400; 
    color: #E62B17; 
    line-height: 22px; 
  } 
  .verification-code {
    display: flex;
    align-items: center;

    :deep(.t-form__controls) {
      width: 100%;

      button {
        flex-shrink: 0;
        width: 116px;
        height: 40px;
        margin-left: 11px;
      }
    }
  }

  .btn-container {
    margin-top: 28px;
  } 
} 
 
.switch-container { 
  display: flex;  
  width: 100%; 
  
// box-shadow: 0px 2px 4px 0px rgba(226,223,209,0.38);
background-color: rgba(245, 242, 241, .5); 
// opacity: .9;
// backdrop-filter: blur(1px);
  .tip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 64px;
    // background: rgba(255,255,255,0.6);
   font-size: 18px;
   
    // background: #d8d8d8;
    
font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 500;
    
color: rgba(0,0,0,0.38);
    line-height: 28px;
    span{
      position: relative;
      z-index: 9999;
    }
    .tip-image{ 
      position: absolute;
      width: 100%;
      height: 105%;
      top: 0; 
      left: 0px; 
      -moz-transform:scaleX(-1);
      -webkit-transform:scaleX(-1); 
      -o-transform:scaleX(-1); 
      transform:scaleX(-1);
    }
    .tip-image2{
      position: absolute; 
      top: 0;
      right: 0; 
      width: 100%; 
      height: 105%;
    }
  }  
  .tip-active {
    
color: #E62B17;
    // background: rgba(255, 255, 255, 0.6);
    // box-shadow: 0px 2px 4px 0px rgba(226, 223, 209, 0.38);
    // backdrop-filter: blur(8px);
  }
}
.switch-container:hover{
  background-color: rgba(245, 242, 241, .7); 
// background: #F5F2F1;
}
.copyright {
  
  position: absolute;
  left: 40%;
  bottom: 64px;
  color: var(--td-text-color-secondary);
}

@media screen and (max-height: 700px) {
  .copyright {
    display: none;
  }
}
:deep(.t-button--variant-base.t-button--theme-primary.t-is-loading) {
  opacity: .5;
  background: #F2573F !important; 
} 
:deep(.t-button--variant-base.t-button--theme-primary.t-is-loading) {
  border-color: #F2573F;
  background: #F2573F !important; 
} 
:deep(.t-checkbox.t-is-checked .t-checkbox__input){ 
  border-color: #E62B17 !important; 
  background: #E62B17 !important;    
}  

:deep(.t-button--variant-base.t-button--theme-primary.t-is-loading) {
  opacity: .5;
}
:deep(.t-button--variant-base.t-button--theme-primary.t-is-loading) {
  border-color: #F2573F;
}
:deep(.t-checkbox__input){
  border-color: #E62B17;
}
:deep(.t-checkbox__input:hover){
  border-color: #E62B17;
}
:deep(.t-button--variant-base.t-button--theme-primary:hover){ 
  background: #F2573F;
}
#login-bt-401 {
  :deep(.t-popup__content) {
    background-color: #333; 
    color: #fff;
    border-color: #333;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    // width: 296px;
    font-size: 14px;
font-weight: 400;
color: #FFFFFF;
line-height: 22px;
  }
  :deep(.placement) {
    // border-color: #333;
    background: transparent !important;
  }
  :deep(.t-popup[data-popper-placement^='left'] .t-popup__arrow::before) {
    background-color: #333;
    // border-color: #333;
  }
  :deep(.t-popup__arrow::before){
background-color: #333;
  }
}